home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu745.dms / pu745.adf / GLOBE099.LHA / Ami-Globe / MAP_FUNCTION_PROTOS.H < prev    next >
C/C++ Source or Header  |  1994-11-01  |  4KB  |  84 lines

  1. /* Prototypes for functions defined in
  2. map_function.c
  3.  */
  4.  
  5. void give_size_window(int , int );
  6. void IPrint(struct RastPort * , int , int , char * ,int color);
  7. void IPrintFond(struct RastPort * , int , int , char * ,int color);
  8. /*void TPrint(struct RastPort * , int , int , char * ,int, int);*/
  9. void aff_country(int , struct RastPort * );
  10. void aff_info(int , struct RastPort * ,struct Window *);
  11. void print_pays(struct RastPort * );
  12. void print_cont(struct RastPort * );
  13. /*void aff_selection(int ,struct RastPort * );*/
  14. int sel_country(struct Screen *,int , void (* )());
  15. int find_country(int , int );
  16. int     Find_Profondeur(int Prof);
  17. void reset_bord(void);
  18. void map_aff_country_name(COUNTRY * ,struct RastPort *);
  19. void redraw_map(int , struct RastPort * );
  20. void fill_country(int , int , struct RastPort * );
  21. void init_map_datas(void);
  22. void free_map_datas(void);
  23. int     get_max_country(void);
  24. char    *get_pays_name(int);
  25.  
  26. void    DrawSeg(struct  RastPort        *,VECT  *tab_pt,int,int,int);
  27. int     map_find_pt(struct RastPort *,int       x,int   y,VECT  **pp_v,int      *p_num_pt,
  28.         int     *p_num_border);
  29.  
  30. void    reset_zoom(struct RastPort *rpG);
  31. void    map_show_bords(int country_sel,int start_bord,struct RastPort *rpG);
  32. void    map_show_borders(struct RastPort        *rpG);
  33. void    map_show_pt(struct      RastPort        *rpG);
  34. void    map_reset_zoom(struct   RastPort        *rpG);
  35. void    map_draw_rect(struct    RastPort *rpG,int       x,int   y,int   sx,
  36.                         int     sy);
  37. void map_set_zoom(struct RastPort       *rpG,int        sx,int sy,int   lx,int ly);
  38. void map_move(struct RastPort   *rpG,int        sx,int sy);
  39. void map_center(struct RastPort *rpG,int        X,int Y);
  40. void map_draw_segment(struct    RastPort        *,int   num_seg,int     color);
  41. int map_find_segment(int        x,int   y);
  42. void redraw_map_complete(struct RastPort        *rpG);
  43. int     tstclip(int     mx,int  my,int  MX,int  MY,CLIP *p_clip);
  44. void tstpt(int x,int y,int *pmx,int *pmy,int *pMX,int *pMY);
  45. int tst_end( FILE    *input);
  46. void    map_set_prof(int        profondeur);
  47.  
  48. void    conv_clip(void);
  49. void    conv_inv_xy(int *,int *);
  50. void    conv_xy(int *,int *);
  51.  
  52.  
  53. void Map_Put_Million(char *In_Buffer,char *P_Format,int data);
  54. void Map_Init_Graph(struct RastPort *rpG,char *Titre);
  55. void Map_Aff_Data(  struct RastPort *rpG,DATA_TRI *Data_Tri,int value);
  56. void Map_End_Graph (struct RastPort *rpG);
  57. void Map_Set_Default_Colors(struct ViewPort *vp);
  58. int  Map_Get_Plages(    struct  RastPort *rpG   ,
  59.                         int     plages_dem      ,
  60.                         E_Type_Data Type        ,
  61.                         int nb_data,
  62.                         int     min             ,
  63.                         int     max             ,
  64.                         E_Type_Graph In_Type_Graph
  65.                 );
  66. void    Map_Give_Type_Trace(E_TYPE_TRACE Type);
  67. void    Map_Give_Default_Font( 
  68.         struct TextFont *Titre_Font,
  69.         struct TextFont *Text_Font
  70.         );
  71. void    Map_Aff_LatLon(struct RastPort *rpG);
  72. void    Map_Give_Type_Proj(E_TYPE_PROJ Type);
  73. float   Map_Convert_Angle(int angle);
  74. void Map_Aff_Echelle(struct RastPort * rpG);
  75. void    Map_Aff_Fond(char *pc,struct Screen *sC);
  76. void    Map_Del_Fond(void);
  77. void Map_Aff_Trajectoires(struct RastPort *,TRAJECTOIRE ** );
  78.  
  79. void MyDraw( struct  RastPort *rpG, int x, int y,  int code);
  80. void MyMove( struct  RastPort *rpG, int x, int y);  
  81. void check_border(int num_vect,int *Out_Nb_Vect,VECT **Out_P_Vect);
  82.  
  83. extern  char    *cont_name[];
  84.